#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :


path = './读写文件测试.txt'

# 当前写入方式会覆盖原有的文件内容
# file_obj = open(path, 'w', encoding='utf-8')
# file_obj.write('你好，世界')

file_obj = open(path, 'a')
file_obj.write('\nHello World')